package com.ad.payload.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class PfAdvertisementDto {

    private static final long serialVersionUID=1L;

    private Long id;

    @NotBlank(message = "广告图片地址不能为空")
    private String adImage;
    @NotBlank(message = "广告跳转地址不能为空")
    private String adForwardUrl;
    @NotBlank(message = "费用项目不能为空")
    private String payItem;
    @NotNull(message = "商家ID不能为空")
    private Integer merchantId;


}
